public class TicTacToeServer {
	public void startServer(int portNumber){
		UserInterface mainMenu = new UserInterface(portNumber);
	}

	// Method that is called when program first starts. It takes a port number as a parameter.
	public static void main(String[] args){
		if(args.length<1){
			System.out.println("Usage: java TicTacToeServer <port number>");
			System.exit(1);
		}
		System.out.println("Hello!! :)");
		int port = Integer.parseInt(args[0]);

		new TicTacToeServer().startServer(port);
	}
}	
